<!doctype html>



  


<html class="theme-next mist use-motion" lang="zh-CH">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>









<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />















  
  
  <link href="/niko/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/niko/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/niko/css/main.css?v=5.1.1" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="Hexo, NexT" />








  <link rel="shortcut icon" type="image/x-icon" href="/niko/favicon.ico?v=5.1.1" />






<meta name="description" content="5.ide的选择和配置ide的选择ide这方面我还是比较推荐Sublime Text按需求下载激活步骤以上都是在Mac开发环境下的配置，Windows的就不贴了 ##SublimeText语法高亮  首先下载—&amp;gt;配置文件 密码: d8k8 导航栏里选择Tools-&amp;gt;Developer-&amp;gt;New Syntax 打开下载的文件，复制到New Syntax新创建的文件当中，然后保存（保">
<meta property="og:type" content="article">
<meta property="og:title" content="NikoBlog">
<meta property="og:url" content="http://git.oschina.net/280772270/niko/2017/06/20/5.ide的选择和配置/index.html">
<meta property="og:site_name" content="NikoBlog">
<meta property="og:description" content="5.ide的选择和配置ide的选择ide这方面我还是比较推荐Sublime Text按需求下载激活步骤以上都是在Mac开发环境下的配置，Windows的就不贴了 ##SublimeText语法高亮  首先下载—&amp;gt;配置文件 密码: d8k8 导航栏里选择Tools-&amp;gt;Developer-&amp;gt;New Syntax 打开下载的文件，复制到New Syntax新创建的文件当中，然后保存（保">
<meta property="og:image" content="http://git.oschina.net/280772270/niko/2017/06/20/5.ide的选择和配置/resources/0AC5A93562319D348DA032FAFBF75CB3.png">
<meta property="og:updated_time" content="2017-06-20T02:27:12.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="NikoBlog">
<meta name="twitter:description" content="5.ide的选择和配置ide的选择ide这方面我还是比较推荐Sublime Text按需求下载激活步骤以上都是在Mac开发环境下的配置，Windows的就不贴了 ##SublimeText语法高亮  首先下载—&amp;gt;配置文件 密码: d8k8 导航栏里选择Tools-&amp;gt;Developer-&amp;gt;New Syntax 打开下载的文件，复制到New Syntax新创建的文件当中，然后保存（保">
<meta name="twitter:image" content="http://git.oschina.net/280772270/niko/2017/06/20/5.ide的选择和配置/resources/0AC5A93562319D348DA032FAFBF75CB3.png">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/niko/',
    scheme: 'Mist',
    sidebar: {"position":"left","display":"post","offset":12,"offset_float":0,"b2t":false,"scrollpercent":false},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '0',
      author: 'Author'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://git.oschina.net/280772270/niko/2017/06/20/5.ide的选择和配置/"/>





  <title> | NikoBlog</title>
  














</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CH">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/niko/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">NikoBlog</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">TecBlog</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/niko/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            Startseite
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/niko/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            Archiv
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/niko/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            Tags
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
    <link itemprop="mainEntityOfPage" href="http://git.oschina.net/280772270/niko/niko/2017/06/20/5.ide的选择和配置/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Yifei's">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/niko/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="NikoBlog">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline"></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">Veröffentlicht am</span>
              
              <time title="Post created" itemprop="dateCreated datePublished" datetime="2017-06-20T10:27:12+08:00">
                2017-06-20
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    <div class="post-body" itemprop="articleBody">

      
      

      
        <h1 id="5-ide的选择和配置"><a href="#5-ide的选择和配置" class="headerlink" title="5.ide的选择和配置"></a>5.ide的选择和配置</h1><h2 id="ide的选择"><a href="#ide的选择" class="headerlink" title="ide的选择"></a>ide的选择</h2><p>ide这方面我还是比较推荐<a href="http://www.sublimetext.com/3" target="_blank" rel="external">Sublime Text</a>按需求下载<br><a href="http://www.jianshu.com/p/656b0c24141e" target="_blank" rel="external">激活步骤</a><br>以上都是在Mac开发环境下的配置，Windows的就不贴了</p>
<p>##SublimeText语法高亮</p>
<ol>
<li>首先下载—&gt;<a href="https://pan.baidu.com/s/1nvdIigD" target="_blank" rel="external">配置文件</a> <strong>密码: d8k8</strong></li>
<li>导航栏里选择Tools-&gt;Developer-&gt;New Syntax</li>
<li>打开下载的文件，复制到New Syntax新创建的文件当中，然后保存（保存的名字为Plain we.sublime-syntax）</li>
<li>打开.we文件，这时候应该就有语法高亮了</li>
</ol>
<p>##idea或者WebStrom<br>下面是激活码</p>
<p>8NGRYV8NBV-eyJsaWNlbnNlSWQiOiI4TkdSWVY4TkJWIiwibGljZW5zZWVOYW1lIjoiYWxpY2FzIGFnaWxlIiwi</p>
<p>YXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6</p>
<p>IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInBy</p>
<p>b2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMTctMDUtMjEifSx7ImNvZGUiOiJB</p>
<p>QyIsInBhaWRVcFRvIjoiMjAxNy0wNS0yMSJ9LHsiY29kZSI6IkRQTiIsInBhaWRVcFRvIjoiMjAx</p>
<p>Ny0wNS0yMSJ9LHsiY29kZSI6IlBTIiwicGFpZFVwVG8iOiIyMDE3LTA1LTIxIn0seyJjb2RlIjoi</p>
<p>RE0iLCJwYWlkVXBUbyI6IjIwMTctMDUtMjEifSx7ImNvZGUiOiJDTCIsInBhaWRVc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wjcOFKrgOxEdek/Sk1VfOjvS+nuM4eyEruFMfaZHzoQiuw4IqgGc</p>
<p>45ohFH0UUyjYcuFxxDSU9lMCv8qdHKm+wnPRb0l9l5vXsCBDuhAGYD6ss+Ga+aDY6f/qXZuUCEUO</p>
<p>H3QUNbbCUlviSz6+GiRnt1kA9N2Qachl+2yBfaqUqr8h7Z2gsx5LcIf5kYNsqJ0GavXTVyWh7PYi</p>
<p>KX4bs354ZQLUwwa/cG++2+wNWP+HtBhVxMRNTdVhSm38AknZlD+PTAsWGu9GyLmhti2EnVwGybSD</p>
<p>2Dxmhxk3IPCkhKAK+pl0eWYGZWG3tJ9mZ7SowcXLWDFAk0lRJnKGFMTggrWjV8GYpw5bq23VmIqq</p>
<p>DLgkNzuoog==</p>
<p>##语法高亮</p>
<p><img src="resources/0AC5A93562319D348DA032FAFBF75CB3.png" alt="QQ20160926-5.png"></p>
<p>原理就是把 *.we 的文件识别成HTML同样也可以语法高亮，idea有一个民间大神开发的weex插件，可以在右侧直接预览效果以及快速生成当前页面的二维码，蛮不错。</p>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/niko/2017/06/20/CoreSpotlight 学习/" rel="next" title="">
                <i class="fa fa-chevron-left"></i> 
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/niko/2017/06/20/4.了解工程/" rel="prev" title="">
                 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            Inhaltsverzeichnis
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            Übersicht
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/niko/images/avatar.gif"
               alt="Yifei's" />
          <p class="site-author-name" itemprop="name">Yifei's</p>
           
              <p class="site-description motion-element" itemprop="description"></p>
          
        </div>
        <nav class="site-state motion-element">

          
            <div class="site-state-item site-state-posts">
              <a href="/niko/archives/">
                <span class="site-state-item-count">7</span>
                <span class="site-state-item-name">Artikel</span>
              </a>
            </div>
          

          

          

        </nav>

        

        <div class="links-of-author motion-element">
          
        </div>

        
        

        
        

        


      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#5-ide的选择和配置"><span class="nav-number">1.</span> <span class="nav-text">5.ide的选择和配置</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#ide的选择"><span class="nav-number">1.1.</span> <span class="nav-text">ide的选择</span></a></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2017</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Yifei's</span>
</div>


<div class="powered-by">
  Erstellt mit  <a class="theme-link" href="https://hexo.io">Hexo</a>
</div>

<div class="theme-info">
  Theme -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Mist
  </a>
</div>


        

        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  <script type="text/javascript" src="/niko/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/niko/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/niko/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/niko/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/niko/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/niko/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/niko/js/src/utils.js?v=5.1.1"></script>

  <script type="text/javascript" src="/niko/js/src/motion.js?v=5.1.1"></script>



  
  

  
  <script type="text/javascript" src="/niko/js/src/scrollspy.js?v=5.1.1"></script>
<script type="text/javascript" src="/niko/js/src/post-details.js?v=5.1.1"></script>



  


  <script type="text/javascript" src="/niko/js/src/bootstrap.js?v=5.1.1"></script>



  


  




	





  





  





  






  





  

  

  

  

  

  

</body>
</html>
